<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="element-plus/index.css" />
    <style>
      .el-row {
        background-color: #ccc;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <el-row class="mb-4" :gutter="20">
        <el-col :span="10"
          >10 / 24
          <el-button>Default</el-button>
          <el-button type="primary">Primary</el-button>
        </el-col>
        <el-col :span="10"
          >10 / 24
          <el-button type="success">Success</el-button>
          <el-button type="info">Info</el-button>
        </el-col>
        <el-col :span="4"
          >4 / 24
          <el-button type="warning">Warning</el-button>
          <el-button type="danger">Danger</el-button>
        </el-col>
      </el-row>

      <el-row class="mb-4">
        <el-button plain>Plain</el-button>
        <el-button type="primary" plain>Primary</el-button>
        <el-button type="success" plain>Success</el-button>
        <el-button type="info" plain>Info</el-button>
        <el-button type="warning" plain>Warning</el-button>
        <el-button type="danger" plain>Danger</el-button>
      </el-row>

      <el-row class="mb-4">
        <el-button round>Round</el-button>
        <el-button type="primary" round>Primary</el-button>
        <el-button type="success" round>Success</el-button>
        <el-button type="info" round>Info</el-button>
        <el-button type="warning" round>Warning</el-button>
        <el-button type="danger" round>Danger</el-button>
      </el-row>

      <el-row>
        <el-button :icon="Search" circle></el-button>
        <el-button type="primary" :icon="Edit" circle></el-button>
        <el-button type="success" :icon="Check" circle></el-button>
        <el-button type="info" :icon="Message" circle></el-button>
        <el-button type="warning" :icon="Star" circle></el-button>
        <el-button type="danger" :icon="Delete" circle></el-button>
      </el-row>
    </div>

    <script src="vue.global.js"></script>
    <script src="element-plus/index.js"></script>
    <script src="element-plus/icon.js"></script>
    <script>
      const app = Vue.createApp({
        data() {
          return {
            Search: ElementPlusIconsVue.Search,
            Edit: ElementPlusIconsVue.Edit,
            Check: ElementPlusIconsVue.Check,
            Message: ElementPlusIconsVue.Message,
            Star: ElementPlusIconsVue.Star,
            Delete: ElementPlusIconsVue.Delete,
          };
        },
      });

      // 注册 ElementPlus 组件
      app.use(ElementPlus);

      const vm = app.mount("#app");
    </script>
  </body>
</html>
